//
//  YPHomePageFragmentCell.m
//  WHISPER
//
//  Created by lanou3g on 15/12/18.
//  Copyright © 2015年 王艳苹. All rights reserved.
//

#import "YPHomePageFragmentCell.h"
#import "UIView+Extention.h"

@implementation YPHomePageFragmentCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
- (UIImageView *)headerImage{
    if (_headerImage == nil) {
        _headerImage = [[UIImageView alloc]initWithFrame:CGRectMake(20, CGRectGetMaxY(_topicLable.frame) + 10,[UIScreen mainScreen].bounds.size.width - 40,130)];
        [self.contentView addSubview:_headerImage];
    }
    return _headerImage;
}
@end
